<?php if ($type == 1) { ?>
  <tr id="poll_option_box_1_<?php echo $poll_option['poll_option_id']; ?>" style="display: none;">
    <td>
      <label>
        <input <?php if ($poll_reply_status == TRUE) { ?> readonly="readonly" onclick="return false;" <?php } ?> style="margin-top: -2px;" class="poll_option_reply" name="poll_option_reply" type="radio" value="<?php echo $poll_option['poll_option_id']; ?>"/>
        &nbsp;
        <?php echo $poll_option['poll_option_message']; ?>
        <?php if ($poll_data['poll_show_users'] == 1) { ?>
          <span style="float: right; font-size: smaller;">
            By <?php echo $poll_option['user_display_name']; ?>
          </span>  
        <?php } ?>
      </label>
    </td>
  </tr>
<?php } ?>
<?php if ($type == 2) { ?>
  <?php if ($poll_data['poll_show_users'] == 1) { ?>
    <?php $show_user_title = 'Show users who replied this option'; ?>
  <?php } else { ?>
    <?php $show_user_title = 'You cannot see replied users because this poll is private'; ?>
  <?php } ?>
  <tr id="poll_option_box_2_<?php echo $poll_option['poll_option_id']; ?>" style="display: none;">
    <td class="bar-label" style="width: 300px;">
      <a title="<?php echo $show_user_title; ?>" style="text-decoration: none; cursor: pointer;" onclick="return show_poll_users('<?php echo $poll_data['poll_id']; ?>', '<?php echo $poll_option['poll_option_id']; ?>');">
        <?php echo $poll_option['poll_option_message']; ?>
      </a>
    </td>
    <td id="option_bar_count_<?php echo $poll_option['poll_option_id']; ?>" class="bar-number"><?php echo $poll_option_reply_count; ?> votes</td>
    <td id="option_bar_title_<?php echo $poll_option['poll_option_id']; ?>" title="<?php echo $poll_option_percent . '%'; ?>" style="cursor: pointer;">
      <div class="progress">
        <div id="option_bar_width_<?php echo $poll_option['poll_option_id']; ?>" style="<?php echo 'width: ' . $poll_option_percent . '%'; ?>" class="bar"></div>
      </div>
    </td>
  </tr>
<?php } ?>